﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="shoucang.aspx.cs" Inherits="gxxz_shoucang" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>

<title></title>
<script type="text/vbscript">
function tof_Click()
if document.all("tof").checked Then
    document.all("his").style.display="inline"
Else
    document.all("his").style.display="none"
End IF
end function
</script>

<style type="text/css">
<!--
.tx1 {height: 20px; width: 30px; font-size: 9pt; border: 1px solid; border-color: black black #000000; color: #0000FF}
.tx {height: 16px; width: 30px; border-color: black black #000000; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; font-size: 9pt; background-color: #eeeeee; color: #0000FF}
-->
</style>
<link href="../css/link.css" rel="stylesheet" type="text/css"/>
<link href="../css/textarea.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
<!--
.style6 {
	color: #FFFFFF;
	font-weight: bold;
}
.style9 {font-size: 12px}
.style10 {color: #FFFFFF}
.style13 {color: #000000}
-->
</style>
</head>

<body>

<div align="center">
  <table width="75%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>
  <div class="RoundedCorner"> 
    <div align="center"><b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <span class="style1">收 藏 共 享</span></div>
  </div>
  </td>
    </tr>
  </table>
</div>

<div align="center">
  <table width="75%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
    <tr>
      <td bgcolor="#FFFFFF">
      <form action="shoucangpost.aspx" method="post" name="form1">
        <table width="99%" border="0" cellpadding="3" cellspacing="0" bgcolor="#399CA0">
          <tr bgcolor="#FFFFFF">
            <td height="8" colspan="2"></td>
            </tr>
            <%
                 int fid=Int32.Parse( this.Request.Params["id"]);
                 string filename=this.Request.Params["n"];
                 COM.OA.Entity.files f = COM.OA.BLL.filesBLL.Select(fid);
                 int start = f.f_filename.LastIndexOf(".") + 1;
                 string hz = f.f_filename.Substring(start);
                 string imgPath = "../gxxz/img/icon/"+hz+".gif";

                 COM.OA.Entity.users u = (COM.OA.Entity.users)Session["loginuser"];
                 
            %>
          <tr bgcolor="#FFFFFF">
            <td><div align="right">接收人：</div></td>
            <td width="511"><select name="bumen" id="bumen" >
                <option value="<%=u.department.dept_id %>" selected="selected"><%=u.department.dept_department %></option>
              </select>
                <select name="city" id="city" >
                  <option value="<%=u.employee.em_id %>" selected="selected"><%=u.employee.em_name %></option>
                </select>
                </td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td rowspan="2"><div align="right">文 件：</div></td>
            <td >&nbsp;<img src='<%=imgPath %>'>&nbsp;<a href="" target="_blank" title=""><%=filename %></a>
            <input type="hidden" id="filename" name="filename" value="<%=filename %>" />
            <input type="hidden" id="f_id" name="f_id" value="<%=f.f_id %>"/>
                                    </td>
            
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>
                &nbsp;&nbsp;
              <div id="his" style="display:none" >
                <textarea name="fuyan" cols="44" rows="5" id="fuyan"></textarea>
                <br/>
                <a href="javascript:SummaryFromText()"></a><br/>
&nbsp;<a href="javascript:change(document.all.fuyan,-20)"><img src="../gxxz/img/minus.gif" border="0" title="缩小文本框"></a>&nbsp;&nbsp;<a href="javascript:change(document.all.fuyan,20)"><img src="../gxxz/img/plus.gif" border="0" title="放大文本框"></a></div></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td width="69"><div align="center"></div></td>
            <td><input name="submit" type="submit" id="submit" style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 收 藏 " />
          　
            <input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px"   onclick="javascript:history.go(-1)" value= " 取 消 " />
            <input type="checkbox" name="tof" id="" onclick="tof_Click()" />
            <span class="style13">附言</span><span class="bg"> <img alt="" src="../gxxz/img/sjyf.gif" width="11" height="18"/></span></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td colspan="2"></td>
          </tr>
        </table>
        </form></td>
    </tr>
  </table>
</div>
</body>
</html>
